# -*- coding: utf-8 -*-
"""
@Project: Msptest
@Author: 余振新
@File name: 病例列表_医院组.py
@Create time: 2023/8/15 16:40
"""
from selenium.webdriver.common.by import By

客户姓名 = (By.XPATH, '//label[text()="客户姓名"]/following-sibling::div/div/div/span')
客户姓名_第一个 = (By.XPATH, '//div[text()="选择客户"]/../following-sibling::div[1]/div[3]/div/div/div[2]/table/tbody/tr[1]')
客户姓名_确定 = (By.XPATH, '//div[text()="选择客户"]/../following-sibling::div[2]/div/button[2]')

产品姓名 = (By.XPATH, '//label[text()="选择产品"]/following-sibling::div/div/div/span')
产品姓名_第一个 = (By.XPATH, '//div[text()="选择产品"]/../following-sibling::div[1]/div[3]/div/div/div[2]/table/tbody/tr[1]')
产品姓名_确定 = (By.XPATH, '//div[text()="选择产品"]/../following-sibling::div[2]/div/button[2]')

疾病 = (By.XPATH, '//label[text()="疾病"]/following-sibling::div/div/div/i')
疾病姓名_第一个 = (By.XPATH, '//div[text()="选择疾病"]/../following-sibling::div[1]/div[2]/div/div/div[2]/table/tbody/tr[1]/td/div/label')
疾病姓名_确定 = (By.XPATH, '//div[text()="选择疾病"]/../following-sibling::div[2]/div/button[2]')

患者姓氏 = (By.XPATH, '//input[@placeholder="请输入患者姓氏"]')
患者年龄 = (By.XPATH, '//input[@placeholder="请输入患者年龄"]')

性别_男 = (By.XPATH, '//label[text()="性别"]/following-sibling::div/div/label[1]/span')
性别_女 = (By.XPATH, '//label[text()="性别"]/following-sibling::div/div/label[2]/span')

就诊时间 = (By.XPATH, '//label[text()="就诊时间"]/following-sibling::div/div/div[1]/div/div/input')

继续上传病例 = (By.XPATH, '//span[text()="继续上传病例"]')

提交 = (By.XPATH, '//span[normalize-space()="提交"]')

病例标题 = (By.XPATH, '//label[text()="病例标题"]/following-sibling::div/div[1]/div/input')
附件上传 = (By.XPATH, '//label[text()="附件"]/following-sibling::div/div[2]/div/button')

劳务费 = (By.XPATH, '//label[text()="劳务费（元）"]/following-sibling::div/div[1]/div/input')
